package edu.dayu.listener;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Service;

/**
 * @author: dayu
 * @date: 2023-07-18 10:07
 */
@Service
public class NotifyService implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) {
        String result = execution.getVariable("result").toString();
        System.out.println(result);
    }
}
